package com.spark.psi.publish.report.task;

import com.jiuqi.dna.core.invoke.SimpleTask;
import com.jiuqi.dna.core.type.GUID;

public class UpdateSalesTargetTask extends SimpleTask {

	private String year;

	private Item[] items;

	public UpdateSalesTargetTask(String year, Item[] items) {
		super();
		this.year = year;
		this.items = items;
	}

	/**
	 * @return the year
	 */
	public String getYear() {
		return year;
	}

	/**
	 * @return the items
	 */
	public Item[] getItems() {
		return items;
	}

	public final static class Item {
		private GUID objectId;

		private String dataType;

		private double value01;

		private double value02;

		private double value03;

		private double value04;

		private double value05;

		private double value06;

		private double value07;

		private double value08;

		private double value09;

		private double value10;

		private double value11;

		private double value12;

		/**
		 * @return the objectId
		 */
		public GUID getObjectId() {
			return objectId;
		}

		/**
		 * @param objectId
		 *            the objectId to set
		 */
		public void setObjectId(GUID objectId) {
			this.objectId = objectId;
		}

		/**
		 * @return the dataType
		 */
		public String getDataType() {
			return dataType;
		}

		/**
		 * @param dataType
		 *            the dataType to set
		 */
		public void setDataType(String dataType) {
			this.dataType = dataType;
		}

		/**
		 * @return the value01
		 */
		public double getValue01() {
			return value01;
		}

		/**
		 * @param value01
		 *            the value01 to set
		 */
		public void setValue01(double value01) {
			this.value01 = value01;
		}

		/**
		 * @return the value02
		 */
		public double getValue02() {
			return value02;
		}

		/**
		 * @param value02
		 *            the value02 to set
		 */
		public void setValue02(double value02) {
			this.value02 = value02;
		}

		/**
		 * @return the value03
		 */
		public double getValue03() {
			return value03;
		}

		/**
		 * @param value03
		 *            the value03 to set
		 */
		public void setValue03(double value03) {
			this.value03 = value03;
		}

		/**
		 * @return the value04
		 */
		public double getValue04() {
			return value04;
		}

		/**
		 * @param value04
		 *            the value04 to set
		 */
		public void setValue04(double value04) {
			this.value04 = value04;
		}

		/**
		 * @return the value05
		 */
		public double getValue05() {
			return value05;
		}

		/**
		 * @param value05
		 *            the value05 to set
		 */
		public void setValue05(double value05) {
			this.value05 = value05;
		}

		/**
		 * @return the value06
		 */
		public double getValue06() {
			return value06;
		}

		/**
		 * @param value06
		 *            the value06 to set
		 */
		public void setValue06(double value06) {
			this.value06 = value06;
		}

		/**
		 * @return the value07
		 */
		public double getValue07() {
			return value07;
		}

		/**
		 * @param value07
		 *            the value07 to set
		 */
		public void setValue07(double value07) {
			this.value07 = value07;
		}

		/**
		 * @return the value08
		 */
		public double getValue08() {
			return value08;
		}

		/**
		 * @param value08
		 *            the value08 to set
		 */
		public void setValue08(double value08) {
			this.value08 = value08;
		}

		/**
		 * @return the value09
		 */
		public double getValue09() {
			return value09;
		}

		/**
		 * @param value09
		 *            the value09 to set
		 */
		public void setValue09(double value09) {
			this.value09 = value09;
		}

		/**
		 * @return the value10
		 */
		public double getValue10() {
			return value10;
		}

		/**
		 * @param value10
		 *            the value10 to set
		 */
		public void setValue10(double value10) {
			this.value10 = value10;
		}

		/**
		 * @return the value11
		 */
		public double getValue11() {
			return value11;
		}

		/**
		 * @param value11
		 *            the value11 to set
		 */
		public void setValue11(double value11) {
			this.value11 = value11;
		}

		/**
		 * @return the value12
		 */
		public double getValue12() {
			return value12;
		}

		/**
		 * @param value12
		 *            the value12 to set
		 */
		public void setValue12(double value12) {
			this.value12 = value12;
		}

	}
}
